package com.xpffly.design.builder.builder.impl;

import com.xpffly.design.builder.builder.CarBuilder;
import com.xpffly.design.builder.model.CarModel;
import com.xpffly.design.builder.model.impl.BenzModel;

import java.util.ArrayList;

/**
 * @Author: xpengfei
 * @Date: 2021/3/28 23:11
 * @Description：奔驰车建造者
 */
public class BenzBuilder extends CarBuilder {

    BenzModel benzModel = new BenzModel();

    @Override
    public void setSequence(ArrayList<String> sequence) {
        this.benzModel.setSequence(sequence);
    }

    @Override
    public CarModel getCarModel() {
        return this.benzModel;
    }
}
